package com.chenl.provider.题目.answer;

import com.chenl.provider.util.ListSplitUtils;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.*;
import java.util.stream.Collectors;

public class Day3 {
    public static void main(String[] args) throws BrokenBarrierException, InterruptedException {
    String a="1672810910358773762\n" +
            ",1672811059298508801\n" +
            ",1672811984438599681\n" +
            ",1672812106528137217\n" +
            ",1672812268566683650\n" +
            ",1672812627850764289\n" +
            ",1672812761504718849\n" +
            ",1633286512023756801\n" +
            ",1635098659652861953\n" +
            ",1640925898034348034\n" +
            ",1640926790306029570\n" +
            ",1640950673453146113\n" +
            ",1640951876489093121\n" +
            ",1640952185663823873\n" +
            ",1640952827694325762\n" +
            ",1640953028811202561\n" +
            ",1640953888004866050\n" +
            ",1640954189793427457\n" +
            ",1640955663504080897\n" +
            ",1640956172361236481\n" +
            ",1640957382694764546\n" +
            ",1640957587833978881\n" +
            ",1640960655346597890\n" +
            ",1640961544874590209\n" +
            ",1640966346920656897\n" +
            ",1640967770798784514\n" +
            ",1640969600208003073\n" +
            ",1640969780126867458\n" +
            ",1640970132607787010\n" +
            ",1640973555768532993\n" +
            ",1640973924489797634\n" +
            ",1640974464115245057\n" +
            ",1640980084172840961\n" +
            ",1640980320895164417\n" +
            ",1640980544271212546\n" +
            ",1640980853156536321\n" +
            ",1640981822946729986\n" +
            ",1640996237351903234\n" +
            ",1640996727263387649\n" +
            ",1640996923430985730\n" +
            ",1640997185746952193\n" +
            ",1640997423404605442\n" +
            ",1640997715227500545\n" +
            ",1640997905233666049\n" +
            ",1640998060469051393\n" +
            ",1640998232846557185\n" +
            ",1640998409770688513\n" +
            ",1640998712901427201\n" +
            ",1640998865800585217\n" +
            ",1640999022210375682\n" +
            ",1641000221786021890\n" +
            ",1641000474706747394\n" +
            ",1641000618441351170\n" +
            ",1641000815254872066\n" +
            ",1641264664083136513\n" +
            ",1641280607886737410\n" +
            ",1641280878369013762\n" +
            ",1642831589481963522\n" +
            ",1663006409734430722\n" +
            ",1663006778724130818\n" +
            ",1663007190504120322\n" +
            ",1663103199779430402\n" +
            ",1663103329941266434\n" +
            ",1663406088373932034\n" +
            ",1663406213779427330\n" +
            ",1663406315378053121\n" +
            ",1663406474346369026\n" +
            ",1663406580932022274\n" +
            ",1663406716781334529\n" +
            ",1663406834083434498\n" +
            ",1663406994037411841\n" +
            ",1663407156721881089\n" +
            ",1663466758486364161\n" +
            ",1663719491705507842\n" +
            ",1663719817645383682\n" +
            ",1663719965754646529\n" +
            ",1663720265637236738\n" +
            ",1663720418670612481\n" +
            ",1663720551370002433\n" +
            ",1663720770400751618\n" +
            ",1663720896603164673\n" +
            ",1663721101901762561\n" +
            ",1663721243555991554\n" +
            ",1663721388708270081\n" +
            ",1663721516001202177\n" +
            ",1668795057669996545\n" +
            ",1668795196237217794\n" +
            ",1668795298888613889\n" +
            ",1668796356222320641\n" +
            ",1668796497981407234\n" +
            ",1668797058034237442\n" +
            ",1669180146920783873\n" +
            ",1633344305912578049\n" +
            ",1633344832813629442\n" +
            ",1633344315605614594\n" +
            ",1633345677261856769\n" +
            ",1633344325483814914\n" +
            ",1633344947183910914\n" +
            ",1633750229417500674\n" +
            ",1633750766011080705\n" +
            ",1633750239315550209\n" +
            ",1633750821024079873\n" +
            ",1633750249033138178\n" +
            ",1633751179292016642\n" +
            ",1633750259016704001\n" +
            ",1633750962949816321\n" +
            ",1633750479443034113\n" +
            ",1633750924304621569\n" +
            ",1634076769971396609\n" +
            ",1635538541782278145\n" +
            ",1660537458371936257\n" +
            ",1664085454641160193\n" +
            ",1668441256976764930\n" +
            ",1635118309056937986\n" +
            ",1635154474196836354\n" +
            ",1635538197881782274\n" +
            ",1643154262715498498\n" +
            ",1648562889719341058\n" +
            ",1649307072948133889\n" +
            ",1635152543810363393\n" +
            ",1635538386030993410\n" +
            ",1643152792574812161\n" +
            ",1648563061353840642\n" +
            ",1649306868073668610\n" +
            ",1635153875777585154\n" +
            ",1635538296050081794\n" +
            ",1643154050015076354\n" +
            ",1648562973534625794\n" +
            ",1649306970526810114\n" +
            ",1635178389295038465\n" +
            ",1635178399638806530\n" +
            ",1635178409567232002\n" +
            ",1635178433494614017\n" +
            ",1635178654569111553\n" +
            ",1635178678472450050\n" +
            ",1635178688168558593\n" +
            ",1635178698063536130\n" +
            ",1635178721215479810\n" +
            ",1635178730900742146\n" +
            ",1635178755521814529\n" +
            ",1635178765155622913\n" +
            ",1635178905300410369\n" +
            ",1635178915223011329\n" +
            ",1635178925470310401\n" +
            ",1635179143607672833\n" +
            ",1635179182744723458\n" +
            ",1635179207586971649\n" +
            ",1635179257835347969\n" +
            ",1635179281066983425\n" +
            ",1635179292077645826\n" +
            ",1635186958494113794\n" +
            ",1635200031476981761\n" +
            ",1635205993906102274\n" +
            ",1635200041412780034\n" +
            ",1635205939023020034\n" +
            ",1635476604665954305\n" +
            ",1635477232810237954\n" +
            ",1635476615156523010\n" +
            ",1635477188496908290\n" +
            ",1635476626442780674\n" +
            ",1635477107606069249\n" +
            ",1635476640113139714\n" +
            ",1635477055566831617\n" +
            ",1636174201899245570\n" +
            ",1636174494812659714\n" +
            ",1636633728754966529\n" +
            ",1636634097011171330\n" +
            ",1636633738616283137\n" +
            ",1636634056380440577\n" +
            ",1636633748710850561\n" +
            ",1636634011131674626\n" +
            ",1636639018346930177\n" +
            ",1636639112269365249\n" +
            ",1638472094517616641\n" +
            ",1638472302446043138\n" +
            ",1640991197715292161\n" +
            ",1643856090307534850\n" +
            ",1640992280323260417\n" +
            ",1643856303288975361\n" +
            ",1640992815911329793\n" +
            ",1643856501080383489\n" +
            ",1640993361112637441\n" +
            ",1643856953335914498\n" +
            ",1640993805973102594\n" +
            ",1643857222865575937\n" +
            ",1640994563677192193\n" +
            ",1643818120955338753\n" +
            ",1651771905576083458\n" +
            ",1641678667759525890\n" +
            ",1641693063843471361\n" +
            ",1641696413430808577\n" +
            ",1641704250605887490\n" +
            ",1643854500909588482\n" +
            ",1650326374170025985\n" +
            ",1643869910463209473\n" +
            ",1643870032035618818\n" +
            ",1643869920814137346\n" +
            ",1643870079795036162\n" +
            ",1643869930961281026\n" +
            ",1643870127723962370\n" +
            ",1643869940905467905\n" +
            ",1643870168388247553\n" +
            ",1646413449873629186\n" +
            ",1646414432502079489\n" +
            ",1646414442870906882\n" +
            ",1646414564345831426\n" +
            ",1646414574931640322\n" +
            ",1646414585057304577\n" +
            ",1646414595061227521\n" +
            ",1646414690129321986\n" +
            ",1646414713449144321\n" +
            ",1646415179813806081\n" +
            ",1646415189633179650\n" +
            ",1646415212839141377\n" +
            ",1646415236046839809\n" +
            ",1646415245899767810\n" +
            ",1646415255625236481\n" +
            ",1646415445325832194\n" +
            ",1646771546268860418\n" +
            ",1646771569665810433\n" +
            ",1648166219977818114\n" +
            ",1649974382717362177\n" +
            ",1649974441894797314\n" +
            ",1651099680564912129\n" +
            ",1651116506929766402\n" +
            ",1651117264966328322\n" +
            ",1651505722184507393\n" +
            ",1661182432275800065\n" +
            ",1651100413842497537\n" +
            ",1651117437570326529\n" +
            ",1651505668130140161\n" +
            ",1661182799735767041\n" +
            ",1676855400445157377\n" +
            ",1651101828447019009\n" +
            ",1651116993735094274\n" +
            ",1651505786646765570\n" +
            ",1665926391201271810\n" +
            ",1666258831467876354\n" +
            ",1651480754595897346\n" +
            ",1654747553332535297\n" +
            ",1651481257937543169\n" +
            ",1654747479321669633\n" +
            ",1651505397117558785\n" +
            ",1655488970721652738\n" +
            ",1655489325480079361\n" +
            ",1655488981323030529\n" +
            ",1655489238945570818\n" +
            ",1655495513645326337\n" +
            ",1655495801504604162\n" +
            ",1655499792074481665\n" +
            ",1655499890067828738\n" +
            ",1655765052863606786\n" +
            ",1655765062638706689\n" +
            ",1655765542724759554\n" +
            ",1655765552466305025\n" +
            ",1655765793601036289\n" +
            ",1657934542331187202\n" +
            ",1665958175070752769\n" +
            ",1657983909813555202\n" +
            ",1657990054688292866\n" +
            ",1657991712323371009\n" +
            ",1657992556968476674\n" +
            ",1657991962575245314\n" +
            ",1657992493676068865\n" +
            ",1657991973569789953\n" +
            ",1657992160333758466\n" +
            ",1657991984009773057\n" +
            ",1657992098802044929\n" +
            ",1658018455103737858\n" +
            ",1665958700776427521\n" +
            ",1658372974308233217\n" +
            ",1658373192002633729\n" +
            ",1658372983914463234\n" +
            ",1658373136062840834\n" +
            ",1658373224653656066\n" +
            ",1658373275187904513\n" +
            ",1658375741564846082\n" +
            ",1658375808365891586\n" +
            ",1658736873987686402\n" +
            ",1658736930619179009\n" +
            ",1658775628320653314\n" +
            ",1658775716912742401\n" +
            ",1659005141038059522\n" +
            ",1659005406712414209\n" +
            ",1659005151213568002\n" +
            ",1659005324605968386\n" +
            ",1659005160684179457\n" +
            ",1659005218745929729\n" +
            ",1659049921436889090\n" +
            ",1659068835941924866\n" +
            ",1659069432585863170\n" +
            ",1659068867741523969\n" +
            ",1659069518647173122\n" +
            ",1659091917448495106\n" +
            ",1659094979658326018\n" +
            ",1666710242855817217\n" +
            ",1676853172705239042\n" +
            ",1660525911692099586\n" +
            ",1660525923863969794\n" +
            ",1660563661433544705\n" +
            ",1660564258635325442\n" +
            ",1660938630853378050\n" +
            ",1660938642991693826\n" +
            ",1660938654945460226\n" +
            ",1660938666714677249\n" +
            ",1660938678857187329\n" +
            ",1660938690777399298\n" +
            ",1660938702487896066\n" +
            ",1660938714613628930\n" +
            ",1661912547805970433\n" +
            ",1663458388253609986\n" +
            ",1676852654665015297\n" +
            ",1666314684426358786\n" +
            ",1666382000916795394\n" +
            ",1666382014401482753\n" +
            ",1666382026615296002\n" +
            ",1666382038946549761\n" +
            ",1666382051382661121\n" +
            ",1666382063713914882\n" +
            ",1666382075994836994\n" +
            ",1666382088200261634\n" +
            ",1666382100124667906\n" +
            ",1666382111734501378\n" +
            ",1666382123746988033\n" +
            ",1666382139373719554\n" +
            ",1666382152246038529\n" +
            ",1666382164547932162\n" +
            ",1666382176728190977\n" +
            ",1666382188627431426\n" +
            ",1666382202852073473\n" +
            ",1666382215678255105\n" +
            ",1666382227929817089\n" +
            ",1666382239929720833\n" +
            ",1666382252260974594\n" +
            ",1666382264000831490\n" +
            ",1666382276051066882\n" +
            ",1666382287874809858\n" +
            ",1666382299564335105\n" +
            ",1666382311916560385\n" +
            ",1666382323354427394\n" +
            ",1666382335232696322\n" +
            ",1666382346855112705\n" +
            ",1666382358687244289\n" +
            ",1666382370687148033\n" +
            ",1666386456433659906\n" +
            ",1666386468089630721\n" +
            ",1666386479993065474\n" +
            ",1666386491862945793\n" +
            ",1666386503888015361\n" +
            ",1666386515829198849\n" +
            ",1666386527791353858\n" +
            ",1666386539514433538\n" +
            ",1666386551430451202\n" +
            ",1666386563203862530\n" +
            ",1666386574884999170\n" +
            ",1666386586478055426\n" +
            ",1666386650457968642\n" +
            ",1666386662554341378\n" +
            ",1666386674495524865\n" +
            ",1666386686478651393\n" +
            ",1666386698184953858\n" +
            ",1668163738727215106\n" +
            ",1668164495322947585\n" +
            ",1668164772082085890\n" +
            ",1668164994539581441\n" +
            ",1668165498206199809\n" +
            ",1668165764970311681\n" +
            ",1668165774164226049\n" +
            ",1668165800993005570\n" +
            ",1668173300809199618\n" +
            ",1670612375811067906\n" +
            ",1670612389178314754\n" +
            ",1671405110935494658\n" +
            ",1673209485595418625\n" +
            ",1673209736502878210\n" +
            ",1673209746615345153\n" +
            ",1673209756996247553\n" +
            ",1673209767274029058\n" +
            ",1673209777977892866\n" +
            ",1673209787813535745\n" +
            ",1673209797825339393\n" +
            ",1673209807933612033\n" +
            ",1673209817957998594\n" +
            ",1673209828150157314\n" +
            ",1673209838593974273\n" +
            ",1673209849172008962\n" +
            ",1673209873574469634\n" +
            ",1673209885121388545\n" +
            ",1673209895569399810\n" +
            ",1673209905610563586\n" +
            ",1673209916019089409\n" +
            ",1673209925905063937\n" +
            ",1673209936407601153\n" +
            ",1673209946763337730\n" +
            ",1673209957324595202\n" +
            ",1673209968573718530\n" +
            ",1673209978581327873\n" +
            ",1673209988853178370\n" +
            ",1673209999351521282\n" +
            ",1673210009971499010\n" +
            ",1673210034055192577\n" +
            ",1673210058210189314\n" +
            ",1673210068173398018\n" +
            ",1673210078355431426\n" +
            ",1673210088404983810\n" +
            ",1673210098219655169\n" +
            ",1673210108088852482\n" +
            ",1673210117962244098\n" +
            ",1673210127864995841\n" +
            ",1673210137562226689\n" +
            ",1673210148234272769\n" +
            ",1673210160037044226\n" +
            ",1673210171881758721\n" +
            ",1673210186331136002\n" +
            ",1673210197303435265\n" +
            ",1673210207399124993\n" +
            ",1673210239963701250\n" +
            ",1673210284825976834\n" +
            ",1673210300420399105\n" +
            ",1673210316878848002\n" +
            ",1673210330178985986\n" +
            ",1673210340203372546\n" +
            ",1673210350567497730\n" +
            ",1673210361600974849\n" +
            ",1673210373686501378\n" +
            ",1673210396963151873\n" +
            ",1673210413463543810\n" +
            ",1673210424792358914\n" +
            ",1673210434888048641\n" +
            ",1673210446866980865\n" +
            ",1673210458007052290\n" +
            ",1673210469419753474\n" +
            ",1673210480031342593\n" +
            ",1673210491045584898\n" +
            ",1673210503821434881\n" +
            ",1673210532776452098\n" +
            ",1673210544197541890\n" +
            ",1673210566062448641\n" +
            ",1673210576728563713\n" +
            ",1673210591001780225\n" +
            ",1673210603416920065\n" +
            ",1673210615588790273\n" +
            ",1673210631749443585\n" +
            ",1673210645942968322\n" +
            ",1673210660585283585\n" +
            ",1673210678864060417\n" +
            ",1673210693539930114\n" +
            ",1673210705414004738\n" +
            ",1673210719590752258\n" +
            ",1673210732060418049\n" +
            ",1673210744366505985\n" +
            ",1673210756009893889\n" +
            ",1673210769918205954\n" +
            ",1673210782060716034\n" +
            ",1673210793418891266\n" +
            ",1673210809168502785\n" +
            ",1673210824263802881\n" +
            ",1673210834489516033\n" +
            ",1673210846881947649\n" +
            ",1673212010622689281\n" +
            ",1673215707400806402\n" +
            ",1673252520043651073\n" +
            ",1673252530109980674\n" +
            ",1673252540310528001\n" +
            ",1673252549999370242\n" +
            ",1673252559826624514\n" +
            ",1673252569607741441\n" +
            ",1673252580609400834\n" +
            ",1673252590541512705\n" +
            ",1673252600729477121\n" +
            ",1673252610493816834\n" +
            ",1673252620346236930\n" +
            ",1673252644320878593\n" +
            ",1673252654039080962\n" +
            ",1673252664021524482\n" +
            ",1673252673714561026\n" +
            ",1673252683684421633\n" +
            ",1673252707197689857\n" +
            ",1673252717121413122\n" +
            ",1673252726978027521\n" +
            ",1673252736851419137\n" +
            ",1673252746594787330\n" +
            ",1673252756338155521\n" +
            ",1673252766188118018\n" +
            ",1673252775776296962\n" +
            ",1673252785494499329\n" +
            ",1673252809167151105\n" +
            ",1673252818780495874\n" +
            ",1673252828725190657\n" +
            ",1673252838401449986\n" +
            ",1673252848136429570\n" +
            ",1673252858014015489\n" +
            ",1673252868080345090\n" +
            ",1673252877794353154\n" +
            ",1673252887466418178\n" +
            ",1673252901345370113\n" +
            ",1673252910958714882\n" +
            ",1673252920597225474\n" +
            ",1673252930101518337\n" +
            ",1673252940134293506\n" +
            ",1673252949944770561\n" +
            ",1673252959629418497\n" +
            ",1673252969867714562\n" +
            ",1673252979921461250\n" +
            ",1673252989991985153\n" +
            ",1673253000094326786\n" +
            ",1673253010341011458\n" +
            ",1673253020407341058\n" +
            ",1673253030519808002\n" +
            ",1673253040443531265\n" +
            ",1673253050300145665\n" +
            ",1673253060085456898\n" +
            ",1673253070420221954\n" +
            ",1673253081816145921\n" +
            ",1673253091421102081\n" +
            ",1673253103626526721\n" +
            ",1673253113516695554\n" +
            ",1673253123557859329\n" +
            ",1673253133468999682\n" +
            ",1673253143413694466\n" +
            ",1673253153761042433\n" +
            ",1673253164449865730\n" +
            ",1673253174646218753\n" +
            ",1673253184649633794\n" +
            ",1673253194665631746\n" +
            ",1673253205709234177\n" +
            ",1673253215804923906\n" +
            ",1673253225892225025\n" +
            ",1673253235660759041\n" +
            ",1673253245469499393\n" +
            ",1673253255372251138\n" +
            ",1673253265262419969\n" +
            ",1673253275098062850\n" +
            ",1673253285009203201\n" +
            ",1673253294639325185\n" +
            ",1673253304357527554\n" +
            ",1673253313807294465\n" +
            ",1673253337215705090\n" +
            ",1673253347571441665\n" +
            ",1673253357604216834\n" +
            ",1673253367246921729\n" +
            ",1673253377132896258\n" +
            ",1673253386960150530\n" +
            ",1673253396867096577\n" +
            ",1673253406585298946\n" +
            ",1673253416422678529\n" +
            ",1673253426119909377\n" +
            ",1673253435674533890\n" +
            ",1673253445409513473\n" +
            ",1673253455165464577\n" +
            ",1673253464833335298\n" +
            ",1673253474509594626\n" +
            ",1673253484190048258\n" +
            ",1673253493956845569\n" +
            ",1673253503796682754\n" +
            ",1673253513762349058\n" +
            ",1673253523736403969\n" +
            ",1673253533953728514\n" +
            ",1673253543785177090\n" +
            ",1673253553952169985\n" +
            ",1673253563850727426\n" +
            ",1673253597960544258\n" +
            ",1673253607997513730\n" +
            ",1673253617858322433\n" +
            ",1673253627878514689\n" +
            ",1673253637965815810\n" +
            ",1673253648220889090\n" +
            ",1673253658341744641\n" +
            ",1673253668345159681\n" +
            ",1673253678407294977\n" +
            ",1673253688385544193\n" +
            ",1673253697948557313\n" +
            ",1673253707964555266\n" +
            ",1673253717791809537\n" +
            ",1673253727728115714\n" +
            ",1673253737412763650\n" +
            ",1673253747235823618\n" +
            ",1673253757218267137\n" +
            ",1673253766965829634\n" +
            ",1673253777522892801\n" +
            ",1673253787371118594\n" +
            ",1673253797127069698\n" +
            ",1673253807067570178\n" +
            ",1673253817045819393\n" +
            ",1673253826810159105\n" +
            ",1673253836532555777\n" +
            ",1673253846660063233\n" +
            ",1673253856365682690\n" +
            ",1673253866390069249\n" +
            ",1673253876372512769\n" +
            ",1673253886455619586\n" +
            ",1673253896446451713\n" +
            ",1673253920328818689\n" +
            ",1673253930206404609\n" +
            ",1673253940658610178\n" +
            ",1673253964608086017\n" +
            ",1673253974808633346\n" +
            ",1673253984610721794\n" +
            ",1673253994547027970\n" +
            ",1673254004453974018\n" +
            ",1673254014654521345\n" +
            ",1673254024683102209\n" +
            ",1673254034619408386\n" +
            ",1673254045344243714\n" +
            ",1673254055754506241\n" +
            ",1673254066198323201\n" +
            ",1673254090428817410\n" +
            ",1673254100706598913\n" +
            ",1673254110861008898\n" +
            ",1673254121007030273\n" +
            ",1673254131069165569\n" +
            ",1673254141328433154\n" +
            ",1673254151646420994\n" +
            ",1673254532453933057\n" +
            ",1673254542482513921\n" +
            ",1673254552565620737\n" +
            ",1673254562711642114\n" +
            ",1673254572903800834\n" +
            ",1673254583473446914\n" +
            ",1673254593590108162\n" +
            ",1673254603996176386\n" +
            ",1673254614226083841\n" +
            ",1673254624250470402\n" +
            ",1673254634048364546\n" +
            ",1673254644357963777\n" +
            ",1673254654193606658\n" +
            ",1673254664020860929\n" +
            ",1673254673650982914\n" +
            ",1673254683385962498\n" +
            ",1673254693026209793\n" +
            ",1673254702941544450\n" +
            ",1673254713339224065\n" +
            ",1673254723145506817\n" +
            ",1673254732943400962\n" +
            ",1673254742602883073\n" +
            ",1673254752581132289\n" +
            ",1673254762546798593\n" +
            ",1673254772487299074\n" +
            ",1673254782947893249\n" +
            ",1673254794931019777\n" +
            ",1673254804867325953\n" +
            ",1673254814761689090\n" +
            ",1673254824458919938\n" +
            ",1673284479446491137\n" +
            ",1673284489500237826\n" +
            ",1673284499528818689\n" +
            ",1673311659004436482\n" +
            ",1673557533481312258\n" +
            ",1673557543744774146\n" +
            ",1673557553836269570\n" +
            ",1673557563759992833\n" +
            ",1673557575076225026\n" +
            ",1673557592753479681\n" +
            ",1673557606967975937\n" +
            ",1673557616732315649\n" +
            ",1673557626362437633\n" +
            ",1673557636392755202\n" +
            ",1673557646178066434\n" +
            ",1673557657322332162\n" +
            ",1673557673571065858\n" +
            ",1673557689857548290\n" +
            ",1673557700381057026\n" +
            ",1673557710514495489\n" +
            ",1673557720723431426\n" +
            ",1673557730856869889\n" +
            ",1673557741640425474\n" +
            ",1673557753137012738\n" +
            ",1673557764486799362\n" +
            ",1673574389680250881\n" +
            ",1673574413650698241\n" +
            ",1673574423335346177\n" +
            ",1673582192174473217\n" +
            ",1673582202119168001\n" +
            ",1673938479366184962\n" +
            ",1673943145535315969\n" +
            ",1673962698133118978\n" +
            ",1676855868638535681\n" +
            ",1673942618323886082\n" +
            ",1673962969978544129\n" +
            ",1676853504843784194\n" +
            ",1674304670140112897\n" +
            ",1674321968901038081\n" +
            ",1674322910205255681\n" +
            ",1674323349930156034\n" +
            ",1676855683629522945\n" +
            ",1674600313148579841\n" +
            ",1674601612235317249\n" +
            ",1676856502080839682\n" +
            ",1676865646800216065\n" +
            ",1675783950046666753\n" +
            ",1676049183044968449\n" +
            ",1676853685297782786\n" +
            ",1676864829295075330\n" +
            ",1676888729946759169\n" +
            ",1676888744555520001\n" +
            ",1677155007336882178\n" +
            ",1677223379548676097\n" +
            ",1677223804781535234\n" +
            ",1677225248337600514\n" +
            ",1678231326256963586\n" +
            ",1678233338383769601\n" +
            ",1678237427353587714\n" +
            ",1678237868900552705\n" +
            ",1678237898467831810\n" +
            ",1678238120772702209\n" +
            ",1678239127264686082\n" +
            ",1678239137192603649\n" +
            ",1678239147426705409\n" +
            ",1678338532595011585\n" +
            ",1672806076154978305\n" +
            ",1672806218000408578";
        List<String> list = Arrays.asList(a.replaceAll("\n", "").split(","));
        String collect = "'"+list.stream().collect(Collectors.joining("','"))+"'";
        System.out.println(collect);
    }

    public static class MyThread1 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread1(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(3000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread2 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread2(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(2000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread3 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread3(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(1000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread4 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread4(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(1000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread5 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread5(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(2000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread6 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread6(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(3000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread7 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread7(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(3000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread8 implements Callable{
        private CyclicBarrier cyclicBarrier;
        public MyThread8(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(1000);
            cyclicBarrier.await();
            return null;
        }
    }
    public static class MyThread9 implements Callable{
        private CyclicBarrier cyclicBarrier;

        public MyThread9(CyclicBarrier cyclicBarrier){
            this.cyclicBarrier=cyclicBarrier;
        }
        @Override
        public Object call() throws Exception {
            Thread.sleep(2000);
            cyclicBarrier.await();
            return null;
        }
    }

}
